.WorkDetail {
  position: relative;
  display: flex;
  background-color: #15305c;
  .left {
    position: relative;
    flex: 1 1 auto;
    padding: 0 65px;
    background-color: rgba(6, 17, 39, 1);
    .content {
      position: relative;
      display: flex;
      align-items: center; /* 垂直居中 */
      justify-content: center; /* 水平居中 */
      height: 100%;
      padding: 100px 0;
    }
    .zhuanmazhong {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      .icon {
        width: 40px;
        height: 40px;
        margin-bottom: 20px;
        background: url('./images/zhuanma.png') no-repeat center / 100%;
      }
      .text {
        height: 22px;
        color: #ffffff;
        font-weight: 500;
        font-size: 16px;
        line-height: 22px;
      }
    }
    .img {
      display: block;
      max-width: 100%;
      // min-height: calc(100vh - 100px - 200px);
      max-height: calc(100vh - 100px - 200px);
      object-fit: contain;
    }
    .video {
      width: 100%;
      height: 100%;
      min-height: calc(100vh - 100px - 200px);
      max-height: calc(100vh - 100px - 200px);
    }
    .prev,
    .next {
      position: absolute;
      top: 50%;
      width: 40px;
      height: 40px;
      background: url('./images/arrow.png') no-repeat center / 100%;
      cursor: pointer;
      opacity: 0.7;
      &:hover {
        opacity: 1;
      }
    }
    .prev {
      position: absolute;
      left: -50px;
      transform: translateY(-50%) rotate(180deg);
    }
    .next {
      position: absolute;
      right: -50px;
      transform: translateY(-50%);
    }
  }
  .right {
    position: sticky;
    top: 0;
    right: 0;
    z-index: 3;
    width: 360px;
    min-width: 360px;
    min-height: calc(100vh - 68px);
    // max-height: calc(100vh - 68px);
    padding: 50px 20px 0 20px;
    .close {
      position: absolute;
      top: 0;
      right: 0;
      width: 40px;
      height: 40px;
      background: url('./images/close.png') no-repeat center / 20px 20px;
      cursor: pointer;
      &:hover {
        opacity: 0.9;
      }
    }
    .avatar {
      display: block;
      width: 88px;
      height: 88px;
      margin: 0 auto;
      border-radius: 50%;
      cursor: pointer;
    }
    .name {
      height: 28px;
      margin: 20px 0 8px 0;
      color: #ffffff;
      font-weight: 600;
      font-size: 20px;
      line-height: 28px;
      text-align: center;
    }
    .number {
      height: 20px;
      color: #ffffff;
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
      text-align: center;
      opacity: 0.4;
    }
    .othersWork {
      margin-top: 24px;
      // border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
        .title {
          color: #ffffff;
          font-weight: 400;
          font-size: 12px;
          line-height: 17px;
        }
        .more {
          display: flex;
          align-items: center;
          color: #ffffff;
          font-weight: 400;
          font-size: 12px;
          cursor: pointer;
          opacity: 0.4;
          &:hover {
            opacity: 1;
          }
          .icon {
            width: 13px;
            height: 13px;
            margin-left: 2px;
            background: url('./images/more.png') no-repeat center / 100%;
          }
        }
      }
      .body {
        display: flex;
        align-items: center;
        .item {
          width: 154px;
          height: 87px;
          margin-right: 12px;
          overflow: hidden;
          border-radius: 8px;
          cursor: pointer;
          &:last-child {
            margin-right: 0;
          }
          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
      }
    }
    .line {
      width: 320px;
      height: 1px;
      margin: 30px auto;
      background: #ffffff;
      opacity: 0.1;
    }
    .xlWrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #ffffff;
      font-weight: 400;
      font-size: 14px;
      opacity: 0.4;
    }
    .buttons {
      display: flex;
      align-items: center;
      margin-top: 14px;
      .button {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        color: #ffffff;
        font-size: 14px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        cursor: pointer;

        &:hover {
          background: rgba(255, 255, 255, 0.2);
        }
        &.ywj {
          width: 220px;
          margin-right: 10px;
          .icon {
            background: url('./images/xizai.png') no-repeat center / 100%;
          }
        }
        &.fx {
          flex: 1;
          .icon {
            background: url('./images/fengxiang.png') no-repeat center / 100%;
          }
        }
        .icon {
          width: 18px;
          height: 18px;
          margin-right: 6px;
        }
      }
    }
    .teacherWrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      height: 76px;
      margin-bottom: 16px;
      padding: 18px 16px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      .teacherWrapperleft {
        display: flex;
        align-items: center;
        height: 100%;
        .touxiang {
          width: 40px;
          height: 40px;
          margin-right: 6px;
          border-radius: 50%;
          cursor: pointer;
        }
        .info {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          color: rgba(255, 255, 255, 0.3);
          .infotitle {
            cursor: pointer;
            &:hover {
              color: #2bffd3;
            }
          }
        }
      }
      .teacherWrapperright {
        .fenshu {
          display: block;
          width: 29px;
          height: 32px;
          &.fenshu1 {
            background: url('./images/icon-b.png') no-repeat center / 100%;
          }
          &.fenshu2 {
            background: url('./images/icon-a.png') no-repeat center / 100%;
          }
          &.fenshu3 {
            background: url('./images/icon-a+.png') no-repeat center / 100%;
          }
          &.fenshu4 {
            background: url('./images/icon-s.png') no-repeat center / 100%;
          }
        }
        .weipingfeng {
          width: 56px;
          height: 27px;
          color: #ffffff;
          font-size: 12px;
          line-height: 27px;
          text-align: center;
          background: rgba(255, 255, 255, 0.1);
          border-radius: 7px;
        }
      }
    }
    .classWrapper {
      width: 320px;
      height: 206px;
      padding: 12px;
      background: #2d456d;
      border-radius: 8px;
      .currentClass {
        display: flex;
        align-items: center;
        .currentimg {
          width: 96px;
          height: 78px;
          margin-right: 8px;
          border-radius: 6px;
          cursor: pointer;
        }
        .currentClassright {
          display: flex;
          flex: 1;
          flex-direction: column;
          justify-content: space-between;
          height: 78px;
          padding: 8px 0 4px 0;
          overflow: hidden;
          cursor: pointer;
          &:hover {
            .currentClassName {
              color: #2bffd3;
            }
          }
          .currentClassName {
            height: 17px;
            overflow: hidden;
            color: #ffffff;
            font-weight: 400;
            font-size: 12px;
            line-height: 17px;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
          .currentClassPrice {
            height: 20px;
            color: #ffe400;
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
          }
        }
      }
      .otherClass {
        margin-top: 12px;
        padding-top: 12px;
        color: #ffffff;
        font-weight: 400;
        font-size: 12px;
        line-height: 17px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        .header {
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: 8px;
          color: #ffffff;
          font-weight: 400;
          font-size: 12px;
          .more {
            display: flex;
            align-items: center;
            cursor: pointer;
            opacity: 0.4;
            &:hover {
              opacity: 1;
            }
            .icon {
              width: 13px;
              height: 13px;
              margin-left: 2px;
              background: url('./images/more.png') no-repeat center / 100%;
            }
          }
        }
        .body {
          display: flex;
          align-items: center;
          .item {
            width: 94px;
            height: 55px;
            margin-right: 7px;
            overflow: hidden;
            border-radius: 4px;
            cursor: pointer;
            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
            }
            &:last-child {
              margin-right: 0;
            }
          }
        }
      }
    }
  }
}

.sharepopover {
  :global {
    .ant-popover-title {
      display: none;
    }

    .ant-popover-inner {
      padding: 12px;
      background: #fff;
      border-radius: 8px;
    }
    .ant-popover-arrow {
      transform: translateX(97%) translateY(-50%);
    }
    .ant-popover-inner-content {
      padding: 0;
    }
    .ant-popover-arrow-content {
      background-color: #fff;
    }
  }
}

.qrCode {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  .title {
    margin-top: 12px;
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
}
